package com.smart.campus.dto;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 *
 */
@Data
@ToString
@TableName(value = "hidden_danger")
public class HiddenDanger implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long dangerId;

    private String dangerName;

    private String dangerDescribe;

    private String img;

    private String locale;

    private String dangerType;

    private Integer handleState;

    private String escalationName;

    private Long escalationId;

    private Integer dangerLevel;

    private Integer dangerSource;

    private Integer examineState;

    private String escalationTime;

    @TableField(exist = false)
    private String escalationTimeStart;

    @TableField(exist = false)
    private String escalationTimeEnd;

    private String endTime;

    @TableField(exist = false)
    private String endTimeStart;

    @TableField(exist = false)
    private String endTimeEnd;

    private String createBy;

    private String createTime;

    private String updateBy;

    private String updateTime;

    @TableField(exist = false)
    private DangerDetails details;
}
